package com.paypalpay.service;

import com.paypalpay.entity.common.DevicePackageCoverPicture;
import com.paypalpay.entity.common.DevicePackageMarketingStrategy;
import com.paypalpay.entity.common.InternationalPayPackage;
import com.paypalpay.entity.common.PartnerProductPackage;

import java.util.List;


public interface InternationalPayPackageService {

    public int findPackageExistOrNot(String packageCode, String partnerCode);

    public void storagePackage(PartnerProductPackage productPackage);

    public void storageRefuelingPackage(PartnerProductPackage productPackage);

    public void bak_storagePackage(InternationalPayPackage payPackage);

    public void bak_storageRefuelingPackage(InternationalPayPackage payPackage);

    public List<InternationalPayPackage> queryPackages(String partnerCode,String deviceId);
    //List<InternationalPayPackage> queryPackages();

    public List<DevicePackageCoverPicture> queryPictureInfo(String packageCode,String partnerCode);
    //public List<DevicePackageCoverPicture> queryPictureInfo(String coverCountryCode);

    public List<DevicePackageMarketingStrategy> queryDeviceStrategy(String packageCode,String partnerCode);
    //public List<DevicePackageMarketingStrategy> queryDeviceStrategy(String packageCode);

    //根据mcc去数据库查询
    public List<InternationalPayPackage> queryPackagesByMcc(String mccRequest,String partnerCode);
    //public List<InternationalPayPackage> queryPackagesByMcc(String mccRequest);

    //根据套餐code去查询套餐name
    public String getPackageNameBypackageCode(String packageCode,String partnerCode);

    public String queryContinent(String mccs);

    public String queryCountry(String mccs);

    public String queryPartnerNameBypartnerCode(String partnerCode);

    public int findPictureExistOrNot(String packageCode, String partnerCode);

    public void storagePicture(DevicePackageCoverPicture picture);

    public String queryPackageName(String packageName, String partnerCode);

    public String getPackageTypeByCode(String packageCode, String partnerCode);

    public String getPackageAmountBypackageCode(String packageCode, String partnerCode);
}
